package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.SysOrderStrikeValid;
import com.ruoyi.system.service.SysOrderStrikeValidService;
import com.ruoyi.system.mapper.SysOrderStrikeValidMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xdh
* @description 针对表【sys_order_strike_valid(订单核查有效信息表)】的数据库操作Service实现
* @createDate 2024-07-02 18:22:03
*/
@Service
public class SysOrderStrikeValidServiceImpl extends ServiceImpl<SysOrderStrikeValidMapper, SysOrderStrikeValid>
    implements SysOrderStrikeValidService{

    @Autowired
    private  SysOrderStrikeValidMapper sysOrderStrikeValidMapper;

    @Override
    public Integer selectDroneCountByDeptId(Integer cityDeptId) {
        return sysOrderStrikeValidMapper.selectDroneCountByDeptId(cityDeptId);
    }

    @Override
    public Integer selectPoliceUserCountByDeptId(Integer cityDeptId) {
        return sysOrderStrikeValidMapper.selectPoliceUserCountByDeptId(cityDeptId);
    }

    @Override
    public Integer selectPoliceDroneCountByDeptId(Integer cityDeptId) {
        return sysOrderStrikeValidMapper.selectPoliceDroneCountByDeptId(cityDeptId);
    }
}




